﻿using System;
using System.Diagnostics;

namespace OutlookContactsSync.Services
{
    public class TextWriterTraceListenerWithTime : TextWriterTraceListener
    {
        public TextWriterTraceListenerWithTime(string logPath) : base(logPath) {}

        public override void WriteLine(string message)
        {
            base.Write(" ");
            base.WriteLine(message);
            base.Write(" ");
            base.Write(DateTime.Now.ToString());
        }
    }
}